package com.example.mybaitsplusdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("users")
public class Users {
    @TableId(type = IdType.INPUT)
   private String username ;
   private String password;
   private boolean enabled ;

    public Users(String username, String encode, boolean b) {
        this.username=username;
        this.password=encode;
        this.enabled=b;
    }


}
